package com.gs.weather.controller;

import com.gs.weather.service.other.FileResolve;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.io.IOException;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/10/10 0010
 */
@Controller
@RequestMapping(value = "micaps")
public class Micaps4Controller {
    @Autowired
    FileResolve fileResolve;

    //获取大数据点
    @RequestMapping(value = "maxData")
    @ResponseBody
    public List<FileResolve> getMaxData() throws IOException {
        return fileResolve.getMaxData();
    }
}
